home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
sputls.zip
/
STRIPSTR.DOC
< prev
next >
Wrap
Text File
|
1991-01-06
|
2KB
|
68 lines
Strip String version 1.1 (C) SPETER SOFTWARE, January 1991.
This program will strip the specified string from the given input file and
write the result to the given output file.
The program was written in Borland's Turbo Pascal 5.5
Usage:
------
1: STRIPSTR [/h]
Output a help screen.
/h (optional)
2: STRIPSTR /s<string> in-file out-file
Read the contents of the input file "in-file", delete any occurrences
of the specified string, write the result to the output file.
/s<string> "string" one word or more words (which can be
enclosed in quotes);
in-file an existing file (name can include a path);
lines in the file must be less than 256
characters long;
out-file must be an valid DOS file-name (can include a
path).
3: STRIPSTR /a<ascii values> in-file out-file
Read the contents of the input file "in-file", delete any occurrences
of the specified string, write the result to the output file.
/a<ascii> string made up of the listed ASCII values.
NOTE: the name of the input file (in-file) can not start with a
character between 0 & 9.
Examples:
---------
1: stripstr /shello infile outfile
Deletes every occurrence of the string "hello" from "infile" and writes the
result in "outfile".
2: stripstr /s"hello there" infile outfile
Deletes every occurrence of the string "hello there" from "infile" and writes
the result in "outfile".
3: stripstr /a13 13 10 infile outfile
Deletes the 3 char string made up of ASCII 13+13+10 from "infile" and writes
the result in "outfile".
Correspondence:
---------------
Please address any comments to:
Stephen Peter
INTERNET:
steve@cad0.arch.unsw.oz.au
POST:
SPETER SOFTWARE
P.O. BOX 643
LANE COVE
NSW 2066
AUSTRALIA